package Service.Serviceimpl;

import Dao.Daoimpl.UserMsgimpl;
import Dao.UserMsg;
import Pojo.Msgpojo;
import Pojo.UserMsgpojo;
import Service.UserMsgService;

import java.util.List;

public class UserMsgServiceimpl implements UserMsgService {
    UserMsgimpl userMsgimpl= new UserMsgimpl();
    @Override
    public boolean AddusermsgService(UserMsgpojo um) {
        return userMsgimpl.Addusermsg(um);
    }

    @Override
    public List<Msgpojo> GetMsg() {
        return userMsgimpl.GetMsg();
    }
}
